package com.example.group4.pojo;

/**
 * @program: group4
 * @description: Emp实体类
 * @author: Tan Gang
 * @create: 2021-08-10 20:31
 **/
public class Emp {
    private Integer empId;
    private String empName;
    private String empIDCard;
    private String job;
    private Integer age;
    private String address;

    public Emp(){

    }

    public Emp(Integer empId, String empName, String empIDCard, String job, Integer age, String address) {
        this.empId = empId;
        this.empName = empName;
        this.empIDCard = empIDCard;
        this.job = job;
        this.age = age;
        this.address = address;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpIDCard() {
        return empIDCard;
    }

    public void setEmpIDCard(String empIDCard) {
        this.empIDCard = empIDCard;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empId=" + empId +
                ", empName='" + empName + '\'' +
                ", empIDCard='" + empIDCard + '\'' +
                ", job='" + job + '\'' +
                ", age='" + age + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
